package eip.chapter9.splitaggregate;

public class InformationRequest {

	private String hotelID;
	private String userID;
	private String requestID;

	public InformationRequest() {
		super();
	}
	
	public InformationRequest(String hotelID, String userID, String requestID) {
		super();
		this.hotelID = hotelID;
		this.userID = userID;
		this.requestID = requestID;
	}

	public String getHotelID() {
		return hotelID;
	}

	public void setHotelID(String hotelID) {
		this.hotelID = hotelID;
	}

	public String getUserID() {
		return userID;
	}

	public void setUserID(String userID) {
		this.userID = userID;
	}
	
	public String getRequestID() {
		return requestID;
	}

	public void setRequestID(String requestID) {
		this.requestID = requestID;
	}

	/**
	 * toString method: creates a String representation of the object
	 * @return the String representation
	 * @author e.sale
	 */
	public String toString() {
		StringBuffer buffer = new StringBuffer();
		buffer.append("InformationRequest[");
		buffer.append("hotelID = ").append(hotelID);
		buffer.append(", requestID = ").append(requestID);
		buffer.append(", userID = ").append(userID);
		buffer.append("]");
		return buffer.toString();
	}
	
}
